import os
from pathlib import Path

APPDATA_DIR=os.environ['APPDATA']
APPDATA_DIR=os.path.join(APPDATA_DIR,'RemoteControl')
if not os.path.exists(APPDATA_DIR):
    os.mkdir(APPDATA_DIR)
    
download_list_path=os.path.join(APPDATA_DIR,'downlod.txt')
os.environ['download_list']=download_list_path

video_list_path=os.path.join(APPDATA_DIR,'video.txt')
os.environ['video_list']=video_list_path

os.environ['upload_dir']='z:/uploads'

BASE_DIR = Path(__file__).resolve().parent
os.environ['base_dir']=str(BASE_DIR)

MEDIA_PATH = BASE_DIR/'static'
os.environ['static_dir']=str(MEDIA_PATH)

if __name__ == '__main__':
    for key,item in os.environ.items():
        print(key,item)
